**** dT 0.000 * top TEST ../../../../bin/vinyltest/tests/c00070.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39051 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub **** top extmacro def topsrc=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/../.. **** top macro def testdir=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/../../../../bin/vinyltest/tests **** top macro def tmpdir=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8 **** top macro def vtcid=vtc.408156.05728db8 ** top === vtest "Test workspace functions in vmod_vtc" * top VTEST Test workspace functions in vmod_vtc ** top === server s1 { ** s1 Starting server **** dT 0.001 **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=43801 **** s1 macro def s1_sock=127.0.0.1:43801 * s1 Listen on 127.0.0.1:43801 ** top === vinyl v1 -vcl+backend { ** s1 Started on 127.0.0.1:43801 (1 iterations) **** dT 0.012 ** v1 Launch *** v1 CMD: cd ${pwd} && exec vinyld -d -n /tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 52897' -P /tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8/v1/vinyld.pid -p vmod_path=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: *** v1 CMD: cd /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest && exec vinyld -d -n /tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 52897' -P /tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8/v1/vinyld.pid -p vmod_path=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: *** v1 PID: 408168 **** v1 macro def v1_pid=408168 **** v1 macro def v1_name=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.408156.05728db8/v1 **** dT 0.048 *** v1 debug|Warning: mlock() of VSM failed: Not owner (1) **** dT 0.051 *** v1 debug|Debug: Version: vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 *** v1 debug| *** v1 debug|Debug: Platform: -jsolaris,-sdefault,-sdefault,-hcritbit *** v1 debug|200 292 *** v1 debug|----------------------------- *** v1 debug|Vinyl Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|-jsolaris,-sdefault,-sdefault,-hcritbit *** v1 debug|vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.149 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|dltaixlbaswvpyqbpvopwnqixqxzpgga **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth f47d3a9a2b4188c49405e4ad7cf0c6e213377b1c98cfe29b7546786e954a0705 **** dT 0.150 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Vinyl Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|-jsolaris,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "43801"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport vtc; **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url == "/overflow") { **** v1 CLI TX|\t\t\tvtc.workspace_alloc(client, 100000000); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.http.free_backend = vtc.workspace_free(backend); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.free_session = vtc.workspace_free(session); **** v1 CLI TX|\t\tset resp.http.free_thread = vtc.workspace_free(thread); **** v1 CLI TX| **** v1 CLI TX|\t\tset resp.http.overflowed = vtc.workspace_overflowed(client); **** v1 CLI TX|\t\tvtc.workspace_alloc(client, 2048); **** v1 CLI TX| **** v1 CLI TX|\t\tif (req.url == "/bar") { **** v1 CLI TX|\t\t\tvtc.workspace_overflow(client); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.250 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.350 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.450 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.550 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.650 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.751 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.851 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.940 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|Message from dlopen: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.951 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.952 *** v1 debug|Debug: *** v1 debug| Child (408553) Started **** dT 0.983 *** v1 debug|Child launched OK **** dT 0.986 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 debug|Info: Child (408553) said Child starts *** v1 debug|Info: Child (408553) said Security: proc_setid missing, uid/gid unchanged *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 38367 **** v1 CLI TX|debug.xid 1000 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 38367 ** v1 Listen on 127.0.0.1 38367 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=38367 **** v1 macro def v1_sock=127.0.0.1:38367 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=38367 **** v1 macro def v1_a0_sock=127.0.0.1:38367 **** dT 1.051 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1773714857.805113/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1773714857.805113/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:38367 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:38367 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 38367 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 38367 **** dT 1.086 ** top === logexpect l1 -v v1 -d 1 -g vxid -q "Error ~ 'overflow'" { ** l1 === expect 0 * Begin ** l1 === expect * = Error "workspace_client overflow" ** l1 === expect * = End **** dT 1.087 ** top === client c1 { ** c1 Starting client **** l1 begin| **** l1 qry | Error ~ 'overflow' *** l1 test | expect 0 * Begin ---- c1 Assert error in Sess_Start_Thread(), ../../../../bin/vinyltest/vtest2/src/vtc_sess.c line 178: Condition(pthread_create(&pt, ((void *)0), sess_thread, ta) failed) not true. Errno=11 Resource temporarily unavailable Backtrace: fef230e3: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'vbt_execinfo+0x39 [0xfef230e3] fef232f4: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VBT_format+0x2d [0xfef232f4] fef23362: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VBT_dump+0x66 [0xfef23362] 807c399: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'vtc_log_VAS_Fail+0x65 [0x807c399] fef226e9: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VAS_Fail+0x3a [0xfef226e9] 808a788: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'Sess_Start_Thread+0x1af [0x808a788] 80641c5: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'client_start+0x177 [0x80641c5] 80642d8: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'client_run+0x11 [0x80642d8] 806472e: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'cmd_client+0x442 [0x806472e] 806149b: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'parse_string+0x989 [0x806149b] 8061b1f: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'exec_file+0x3e8 [0x8061b1f] 8081d2b: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'start_test+0x53c [0x8081d2b] 80837fc: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'main+0x32b [0x80837fc] 805afbb: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'_start_crt+0x9a [0x805afbb] 805ae8a: /tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'_start+0x1a [0x805ae8a] * top RESETTING after ../../../../bin/vinyltest/tests/c00070.vtc ** s1 Waiting for server (3/-1) **** dT 1.088 ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 1.097 ---- l1 bad | outstanding expectations **** dT 1.151 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 1.188 *** v1 debug|Info: Child (408553) said Child dies *** v1 debug|Info: Child (408553) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug| *** v1 debug|Info: *** v1 debug|manager dies **** v1 STDOUT EOF **** dT 1.251 ** v1 WAIT4 pid=408168 status=0x0000 (user 0.685000 sys 0.145000) ** l1 Waiting for logexp * top TEST ../../../../bin/vinyltest/tests/c00070.vtc FAILED # top TEST ../../../../bin/vinyltest/tests/c00070.vtc FAILED (1.254) exit=2 FAIL tests/c00070.vtc (exit status: 2)